package com.dom.domweb.dao.mapper;

import com.dom.domweb.dao.entity.TMenuInfo;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * B_菜单信息表 Mapper 接口
 * </p>
 *
 * @author xllei
 * @since 2018-11-17
 */
public interface TMenuInfoMapper extends BaseMapper<TMenuInfo> {
    List<TMenuInfo> findMenuList(@Param("memCode") Integer memCode, @Param("roles")List<Integer> roles);

    List<TMenuInfo> findRoleMenuList(@Param("memCode") Integer memCode, @Param("roles")List<Integer> roles);
}
